package org.example.medicalstaff.service;

import net.sf.jsqlparser.expression.DateTimeLiteralExpression;
import org.example.his.common.api.CommonResponse;
import org.example.medicalstaff.entity.CheckRelation;
import org.example.medicalstaff.entity.CheckTemplate;
import org.example.medicalstaff.entity.FmedItem;

import java.util.List;

public interface CheckService {
    CommonResponse<CheckTemplate> check_manageTemplate_add(
            String Name,
            int Scope,
            int RecordType,
            int UsersID,
            String CreationTime
            );

    CommonResponse<CheckTemplate> check_manageTemplate_delete(
            int TempID
    );

    CommonResponse<CheckTemplate> check_manageTemplate_update(
            String name,
            int scope,
            int recordType,
            int usersID,
            String creationTime
       );

    CommonResponse<List<CheckTemplate>> check_manageTemplate_getList();
    CommonResponse<CheckTemplate> check_manageTemplate_get(String name);

    CommonResponse<CheckRelation> check_manageRelation_add(int CheckProjID,int CheckTempID , String Position );

    CommonResponse<CheckRelation> check_manageRelation_delete(
            int CheckProjID,
            int CheckTempID);

    CommonResponse<CheckTemplate> check_manageRelation_getList(String checkTempName);


    CommonResponse<List<FmedItem>> check_manageFmedItem_getList(int checkTempID);
}